package myapp.com.myapplication;

import android.os.Bundle;
import com.alibaba.android.arouter.facade.annotation.Autowired;
import com.alibaba.android.arouter.facade.annotation.Route;
import com.xm.httpapi.BaseUtils.Toast;
import com.xm.httpapi.BaseView.BaseActivity;

@Route(path = "/ui/loginActivity")
//@ViewL(R.layout.activity_tokeninvalid)
public class TokeninvalidActivity extends BaseActivity {
    @Autowired(name = "message")
    public String errorMessage;//token过期返回的提示

    @Override
    protected int getLayoutId() {
        return R.layout.activity_tokeninvalid;
    }

    @Override
    protected void initData(Bundle savedInstanceState) {
        Toast.show(errorMessage);
    }

    @Override
    protected String showTitle() {
        return "token过期跳转的页面";
    }
}
